package com.senior.sendmessage;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.LocalDateTimeUtil;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author bjl_m
 */
@SpringBootApplication
@Slf4j
@MapperScan("com.senior.sendmessage.mapper")
@EnableDiscoveryClient
public class SendMessageApplication {

    public static void main(final String[] args) {
        SpringApplication.run(SendMessageApplication.class, args);
        log.info(LocalDateTimeUtil.format(LocalDateTimeUtil.now(), DatePattern.CHINESE_DATE_TIME_PATTERN) + "：程序初始化完成！");
    }

}
